﻿using iemtm.WeChat.Web.Core.MVC;
using iemtm.WeChat.Web.Entry.Areas.Admin.Model;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace iemtm.WeChat.Web.Entry.Areas.Admin.Controllers
{
    [Area("Admin")]
    [Route("/[controller]/[action]")]
    public class UserController : BaseController
    {

        public IActionResult Center()
        {
            UserCenterModel model = new UserCenterModel() { UserName = CurrentUser.UserName, RoleName = CurrentUser.RoleName, WxHreadImg = CurrentUser.WxHreadImg, CompanyName = CurrentUser.CompanyName };

            return View(model);
        }

      
    }
}
